#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018/11/1 09:51
# @Author  : supuchun
# @Site    : 
# @File    : api_test.py
'''{"origin_url": "https://goss1.vcg.com/creative/vcg/400/version23/VCG41124772443.jpg",
"img_list": [
    {"1": "https://goss1.vcg.com/creative/vcg/400/version23/VCG41124772443.jpg"},
    {"2": "https://goss4.vcg.com/creative/vcg/400/version23/VCG41128105314.jpg"},
    {"3": "https://goss3.vcg.com/creative/vcg/800/version23/VCG41138621465.jpg"}
]}'''
import requests,json

url ="http://172.16.237.67/surf/getscore"
dd ={}
dd['origin_url'] = "https://goss1.vcg.com/creative/vcg/400/version23/VCG41124772443.jpg"
dd['img_list'] =[{'1':"https://goss1.vcg.com/creative/vcg/400/version23/VCG41124772443.jpg"}]

response = requests.post(url, json = dd)
print(response.text)



